package com.mdd.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mdd.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("order_offline_payment")
@ApiModel("订单还款计划线下支付记录实体")
public class OfflinePayment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "还款计划编码")
    private String repaymentPlanNo;

    @ApiModelProperty(value = "支付租金")
    private BigDecimal paymentRent;

    @ApiModelProperty(value = "支付违约金")
    private BigDecimal indemnification;

    @ApiModelProperty(value = "支付方式;支付方式：1、支付宝 2、微信 3、现金 4、银行卡 5、其他")
    private String payType;

    @ApiModelProperty(value = "备注")
    private String remarks;
}
